package pfsimulator;

/**
 * VNode represent a Virtual Node (eg a vm) in the cluster
 */

public class VNode {
    private String hostName;
    private String ip;
    private PNode phyHost;

    public VNode(String hostName, String ip) {
        this.hostName = hostName;
        this.ip = ip;
    }

    public VNode(String hostName, String ip, PNode phyHost) {
        this.hostName = hostName;
        this.ip = ip;
        this.phyHost = phyHost;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public PNode getPhyHost() {
        return phyHost;
    }

    public void setPhyHost(PNode phyHost) {
        this.phyHost = phyHost;
    }

}
